<?php

	require_once("fta.201003310000/fta.php");
	fta_registerModules(
		array(
		"cms.201003310000/config/cmsConfig",//we will deprecate the old cms config soon..
		"site/fta/config",
		"site/components/MAITutors",
		"FTAWebPage/ftaDefaultWidgets",
		"FTAWebPage/FTAWebPage"
	));

	$urlfragment = extractStringWithKeyFromArray("urlfragment", $_REQUEST, null);
	//Need to default it to top one if not set or another page.
	if(is_null($urlfragment)){
		header('location: /About-Us/');
	} else {
		$urlfragment = urlFragmentCleanRestore($urlfragment);
	}

	//echo "Url fragment = '" . $urlfragment . "' ";

	// /*
	//need to redirect if no type found
	$o = mai_getSharedTutorsObject();
	$tutor = $o->getTutorByUrlFragment($urlfragment);
	if($tutor == false){
		header('location: /About-Us/');
	}
	// */

	//echo "Artwork = <pre>";print_r($o->artwork);echo "</pre>";
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="Keywords" content="<?php echo $o->tutor->keywords; ?>" />
<meta name="Description" content="<?php echo $o->tutor->description; ?>" />

<title><?php echo $o->tutor->title; ?> - Tutor | Mairangi Arts Centre</title>

<?php include ("includes/external-files.php"); ?>

<?php include ("includes/analytics.php"); ?>
</head>

<body id="about" class="">



<?php include ("includes/head.php"); ?>





<div id="container">


	<div id="content">

        <h1>About Us - <?php echo $o->tutor->title; ?></h1>



            <div id="content-blocks">


                    <?php //echo mai_renderTutor(); ?>
                    <div class="content-block block1 first-block">
						<h2>Creative Background</h2>
						<?php echo $o->tutor->organisationalname; ?>
                    </div><!-- Content-block ends -->


                    <div class="content-block block1 first-block">
						<h2>Teaching Philosophy</h2>
						<?php echo $o->tutor->address; ?>
                    </div><!-- Content-block ends -->

            </div><!-- Content-block ends -->

		</div><!-- Content-blocks ends -->






    	<div id="supplementary-content">

            <h2>Our Vision</h2>
            Mairangi Arts Centre is a strong, community based visual arts education centre supporting and encouraging local/regional and culturally diverse communities to experience and enjoy a diverse range of visual arts practices, exhibitions and education programmes.

            <div class="divider"></div>

            <h2>Our Purpose</h2>
            To provide a supportive, nurturing and encouraging environment at Mairangi Arts Centre that fosters community access to and participation in the visual arts by offering a strong and purposeful education and exhibition programme that meets the learning and presentation needs of the community.





        </div><!-- Supplementary-content ends -->



    </div><!-- Content ends -->









</div><!-- Container ends -->





<?php include ("includes/foot.php"); ?>





</body>

</html>
